<template>
	<div>
		<h1>{{ hello }}</h1>
		<button @click="dosomething">emit hello</button>
	</div>
</template>

<script>
	export default {
		data () {
			return {
				hello: 'i am component 007c'
			}
		},
		methods: {
			dosomething () {
				this.$emit('com-a-emit', this.hello)
			}
		}
	}
</script>